import request from '@/utils/request'

export function addTravelNotes(data) {
  return request({
    url: '/travelnotes/addTravelNotes',
    method: 'post',
    data: data
  })
}

export function findTravelNotesById(data) {
  return request({
    url: '/travelnotes/findTravelNotesById/'+data.notesId+'/'+data.createdBy,
    method: 'get'
  })
}


export function findAllTravelnotes() {
  return request({
    url: '/travelnotes/findAllTravelNotes',
    method: 'get'
  })
}
